//---------------------------------------------------------------------------
#ifndef PositionClassH
#define PositionClassH
#include <vcl.h>
#include <math.h>
#include "ObjectClass.h"
//---------------------------------------------------------------------------
class CPosition : public CObject {
private:
	static int count;
	static int namecount;
	static int radius;
	int markcount;
public:
	CPosition(TCanvas* canvas, int x, int y);
	void show();
	void hide();
	bool isSelect(int xm, int ym);
	void setRadius(int radius);
	void setMarkCount(int markcount);
	void incMarkCount(int step);
	void decMarkCount(int step);
	int getMarkCount();
	UnicodeString save();
	~CPosition();
};
int CPosition::count = 0;
int CPosition::namecount = 0;
int CPosition::radius = 14;
//---------------------------------------------------------------------------
#endif
